package com.ecmp.demo.api;

import com.ecmp.core.api.IBaseEntityService;
import com.ecmp.core.api.IDataAuthEntityService;
import com.ecmp.core.api.IFindAllService;
import com.ecmp.demo.entity.Community;
import io.swagger.annotations.Api;

import javax.ws.rs.Consumes;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

/**
 * Created by Administrator on 2017/8/11.
 */
@Path("community")
@Consumes(MediaType.APPLICATION_JSON)
@Produces(MediaType.APPLICATION_JSON)
@Api(value = "ICommunityService权限实体的服务接口")
/**
 * 如果是树形结构则要继承IDataAuthTreeEntityService<T extends BaseEntity & IDataAuthTreeEntity>接口
 */
public interface ICommunityService
        extends IBaseEntityService<Community>, IFindAllService<Community>, IDataAuthEntityService<Community> {
}
